import datetime


# 获取当前时间
def get_datatime():
    now = datetime.datetime.now()
    login_time = now.strftime('%Y-%m-%d %H:%M:%S')
    return login_time
